package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 出车任务所需物品表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "yx_common_drivetask_goods")
public class YxCommonDrivetaskGoods {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 接运任务id
     */
    @TableField(value = "task_id")
    private String taskId;

    /**
     * 接运任务选择的物品id
     */
    @TableField(value = "goods_id")
    private String goodsId;

    /**
     * 物品名称
     */
    @TableField(value = "goods_name")
    private String goodsName;

    /**
     * 物品单价
     */
    @TableField(value = "goods_price")
    private BigDecimal goodsPrice;

    public static final String COL_ID = "id";

    public static final String COL_TASK_ID = "task_id";

    public static final String COL_GOODS_ID = "goods_id";

    public static final String COL_GOODS_NAME = "goods_name";

    public static final String COL_GOODS_PRICE = "goods_price";
}